<template>
  <div class="tabs-index-box">
    <van-tabs v-model="active">
      <van-tab title="标签 1">
        <panel></panel>
      </van-tab>
      <van-tab title="标签 2">内容 2</van-tab>
      <van-tab title="标签 3">内容 3</van-tab>
      <van-tab title="标签 4">内容 4</van-tab>
    </van-tabs>
  </div>
</template>

<script>
import panel from './panel/index.vue'
export default {
 data() {
    return {
      active: 2,
    };
  },
  components: {
    panel
  }
}
</script>

<style>

</style>